﻿@model MvcShopping.Models.OrderHeader



@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    
    <legend>请输入递送信息与订单备注</legend>
    
    
    <fieldset class="col-md-offset-3 col-md-5">
        

        <div class="editor-label">
            @Html.LabelFor(model => model.ContactName)
        </div>
        <div class="editor-field">
            <input type="text" class="form-control" disabled value="@ViewBag.name">
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ContractPhoneNo)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ContractPhoneNo, new { htmlAttributes = new { @class = "form-control" } })
            @Html.ValidationMessageFor(model => model.ContractPhoneNo)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ContactAddress)
        </div>
        <div class="editor-field">
            <input type="text" class="form-control" disabled value=" @ViewBag.address">
           
        </div>        

        <div class="editor-label">
            @Html.LabelFor(model => model.Memo)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Memo, new { htmlAttributes = new { @class = "form-control" } })
            @Html.ValidationMessageFor(model => model.Memo)
        </div>       

        <p>
            <input type="submit"class="btn btn-info" style="margin-top:5px" value="完成订单" />
            <a href="javascript:window.history.go(-1);" style="color:darkgrey">返回购物车</a>
        </p>
    </fieldset>
}



@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
